import QtQuick 2.0
import QtQuick.Controls 1.3
import QtQuick.Layouts 1.1
import QtQuick.Dialogs 1.2
import '../js/memberEdit.js' as MA
import "../lib"
FView {
    id: root
    property var modelData

    function modify(){MA.editUser()}
    Component.onCompleted: MA.initialize()
    Item {
        width: root.width
        height: root.height
        Column {
            anchors.centerIn: parent
            spacing: 32 * __factor__

            FTextField {
                id: txtAccount
                title: "账号"
                width: root.width * 0.7
                height: 72 * __factor__
                readOnly: true
            }

            FTextField {
                id: txtMail
                title: "邮箱"
                width: root.width * 0.7
                height: 72 * __factor__


            }
            FTextField {
                id: txtTel
                title: "电话"
                width: root.width * 0.7
                height: 72 * __factor__


            }

            FTextField {
                id: txtAddress
                title: "地址"
                width: root.width * 0.7
                height: 72 * __factor__

            }

            FTextField {
                id: txtPassword
                title: "密码"
                width: root.width * 0.7
                height: 72 * __factor__
                echoMode: TextInput.Password

            }

            FTextField {
                id: txtMoney
                title: "余额"
                width: root.width * 0.7
                height: 72 * __factor__

            }
        }
    }
}

